const path = require('path')
module.exports = {
  // publicPath: process.env.NODE_ENV === 'production'
  // ? '/production-sub-path/'
  //   : '/',
  lintOnSave: false,
  publicPath: '/',
  filenameHashing:false,
  devServer: {
    open: false,
    host: 'localhost',
    port: 8082,
    https: false,
    hotOnly: false,
    proxy: {
      '/api': {
        target: 'http://crypnote.io/api/',
        ws: true,
        changOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    },
    before: app => {}
  }
}
